package com.ryandj.mapper;

import com.ryandj.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created by wdj on 2024/6/6
 */
@Mapper
public interface UserMapper {

    @Select("select * from user where login_name = #{loginName}")
    User getUserByLoginName(String loginName);
}
